package cfengMiddleware.server.rabbitmq.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author Cfeng
 * @date 2022/9/16
 * 测试rabbitMQ以对象作为消息类型，不简单为String
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Student {

    private Integer id;

    private String realName;

    private String username;
}
